package com.zehua.service.impl;

import com.zehua.dao.CustomerMapper;
import com.zehua.entity.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zehua.service.CustomerService;

import javax.annotation.Resource;

@Service("customerService")
public class CustomerServiceImpl implements CustomerService {

    @Resource
    private CustomerMapper customerMapper;

    @Override
    public void customerReg(Customer customer) {
        customerMapper.customerReg(customer);
    }
}